package com.example.myyunpan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.myyunpan.entity.domain.FileShare;
import com.example.myyunpan.entity.dto.SessionShareDto;
import com.example.myyunpan.entity.query.FileShareQuery;
import com.example.myyunpan.entity.vo.PaginationResultVO;

/**
* @author 111
* @description 针对表【file_share(分享信息)】的数据库操作Service
* @createDate 2024-10-23 11:41:27
*/
public interface FileShareService extends IService<FileShare> {

    PaginationResultVO findListByPage(FileShareQuery query);

    void saveShare(FileShare share);

    void deleteFileShareBatch(String userId, String[] shareArr);

    FileShare getFileShareByShareId(String shareId);

    SessionShareDto checkShareCode(String shareId, String code);
}
